package com.cfeng.order.manager;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.cfeng.order.dao.ChatOrderDao;
import com.cfeng.order.entity.ChatOrder;
import com.jeecms.core.JeeCoreManagerImpl;

@Service(value="order")
@Transactional
public class ChatOrderManagerImpl  extends JeeCoreManagerImpl<ChatOrder> implements ChatOrderManager{
	
	public List<ChatOrder> findChatOrders(){
		return getDao().getList();
	}
	
	@Autowired
	public void setDao(ChatOrderDao dao) {
		super.setDao(dao);
	}

	protected ChatOrderDao getDao() {
		return (ChatOrderDao) super.getDao();
	}
}
